import request from '@/utils/request'

export function dictionaryFindePage(data) {
  return request({
    url: '/dictionary/find_page',
    method: 'post',
    data
  })
}

export function dictionaryAdd(data) {
  return request({
    url: '/dictionary/add',
    method: 'post',
    data
  })
}

export function dictionaryDelete(data) {
  return request({
    url: '/dictionary/delete',
    method: 'post',
    data
  })
}

export function dictionaryUpdate(data) {
  return request({
    url: '/dictionary/update',
    method: 'post',
    data
  })
}

export function dictionaryGet(data) {
  return request({
    url: '/dictionary/get',
    method: 'post',
    data
  })
}

export function sysconfigFindPage(data) {
  return request({
    url: '/sysconfig/find_page',
    method: 'post',
    data
  })
}

export function sysconfigUpdate(data) {
  return request({
    url: '/sysconfig/update',
    method: 'post',
    data
  })
}

export function sysconfigGet(data) {
  return request({
    url: '/sysconfig/get',
    method: 'post',
    data
  })
}

export function operationLogFindPage(data) {
  return request({
    url: '/operationLog/findPage',
    method: 'post',
    data
  })
}
